package com.itheima.user.dao;

import com.itheima.domain.User;

import java.io.IOException;
import java.util.ArrayList;

public interface IUserDao {

    void addUser(User user);
    void deleteUser(String username);
    void updatePassword(String username,User user);
    ArrayList<User> findAllUser();
    int getIndex(String username);
    void write() throws IOException;
    void read() throws IOException, ClassNotFoundException;
}
